inherited frmMnfRCCP: TfrmMnfRCCP
  Left = 333
  Top = 101
  Caption = #29983#20135#25490#20135'--'#31895#33021#21147#35745#31639
  PixelsPerInch = 119
  TextHeight = 12
  inherited pnlBottom: TPanel
    Top = 269
    Height = 60
    ExplicitTop = 269
    ExplicitHeight = 60
    inherited btnOK: TcxButton
      Left = 550
      Top = 10
      Caption = #35745#31639'(&O)'
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        0000000000004D1200004D1200000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00005516FF5EDB7EFF8CE5A3FF6ADD88FF42D4
        68FF005516FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00005516FF5EDB7EFF8CE5A3FF035C1AFF5EDB7EFF8CE5A3FF6ADD88FF42D4
        68FF005516FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00005516FF5EDB7EFF8CE5
        A3FF035C1AFF5EDB7EFF84DC9BFF035C1AFF5AD379FF8CE5A3FF6ADD88FF3ECD
        63FF005516FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00035C1AFF5EDB7EFF84DC
        9BFF035C1AFF5AD379FF84DC9BFF075D1DFF002E51FF002C55FF002C55FF002E
        51FF0E5E23FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00035C1AFF5AD379FF84DC
        9BFF075D1DFF002E51FF002C55FF002C55FF002C55FFAAD6FFFFAAD6FFFF002C
        55FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000E5E23FF002E51FF002C
        55FF002C55FF002C55FFAAD6FFFFAAD6FFFF002C55FFAAD6FFFFAAD6FFFF002C
        55FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00002C55FFAAD6
        FFFFAAD6FFFF002C55FFAAD6FFFFAAD6FFFF002C55FF002C55FF002C55FF0D37
        5DFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00002C55FFAAD6
        FFFFAAD6FFFF002C55FF002C55FF002C55FF0E375EFFCEDFE0FFBBD8DAFF98AC
        ADFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF000E375EFF002C
        55FF002C55FF0E375EFFFFFFFF00C8D1D1FFCAE0E2FF8BCDD1FF4FB7BEFF2859
        5DFFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF007D9A9CFFA3D8DCFF64C2C8FF25AAB2FF013D
        41FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00608588FF95D6DAFF5DC0C6FF24AAB2FF003C
        40FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF005F8587FF95D6DAFF5DC0C6FF24AAB2FF003C
        40FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008E57
        00FF8E5700FF8E5700FF8E5700FF8E5700FF8E5700FF8E5700FF8E5700FF8E57
        00FF8E5700FF8E5700FF8E5700FF8E5700FF8E5700FFFFFFFF00FFFFFF00915C
        08FFE7947CFFE7947CFFE7947CFFE7947CFFE7947CFFE7947CFFE7947CFFE794
        7CFFE7947CFFD48863FF9F661CFF94600FFFBA9E73FFFFFFFF00FFFFFF00A376
        30FFE4B199FFE4B199FFE4B199FFE4B199FFE4B199FFE4B199FFE4B199FFE4B1
        99FFCCA27AFFA2752DFFAB864BFFDBD4C9FFFFFFFF00FFFFFF00FFFFFF009F71
        27FFB18B4FFFB18B4FFFB18B4FFFB18B4FFFB18B4FFFB18B4FFFB18B4FFFB18B
        4FFFA1752FFFD0C2ACFFFFFFFF00FFFFFF00FFFFFF00}
      OptionsImage.NumGlyphs = 1
      ExplicitLeft = 550
      ExplicitTop = 10
    end
    inherited btnCancel: TcxButton
      Left = 777
      Top = 10
      Caption = #36864#20986'(&C)'
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        0000000000004D1200004D1200000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF000000FFFFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF1195D5FF000000FFFFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF000000FF0000
        00FF000000FF000000FF000000FF000000FF000000FF1195D5FF1195D5FF0000
        00FF000000FF000000FF000000FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF00D559FF00D559FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF00D559FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF00D559FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF00D559FF7FFF00FF000000FF000000FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF7FFF00FF7FFF00FF000000FF000000FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF00D559FF7FFF00FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF000000FF1195D5FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF000000FF1195D5FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF000000FF1195
        D5FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF7FFF00FF0000
        00FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000
        00FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      OptionsImage.NumGlyphs = 1
      OnClick = btnCancelClick
      ExplicitLeft = 777
      ExplicitTop = 10
    end
    object btnExcel: TcxButton
      Left = 18
      Top = 10
      Width = 100
      Height = 25
      Caption = #23548#20986'Excel'
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        0000000000004D1200004D1200000000000000000000FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FF000000FF0000
        00FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00000000FF000000FF000000FF000000FF000000FF0000
        00FF000000FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00848484FF848484FF848484FF848484FF848484FF848484FF8484
        84FF848484FF848484FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FF0000
        00FF000000FF000000FF000000FF000000FFFF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00840000FF8400
        00FFFF00FF00840000FFFF00FF00000000FFFF00FF00FF00FF00000000FF0000
        00FF000000FF000000FF000000FF000000FF000000FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00840000FFFF0000FF840000FFFF00
        00FF840000FFFF0000FF840000FFFF0000FFFF00FF00FF00FF00000000FFFF00
        FF00840000FFFF00FF00840000FF840000FFFF0000FF840000FFFF0000FF8400
        00FFFF0000FF840000FFFF0000FF840000FFFF00FF00FF00FF00000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00840000FFFF00
        00FF840000FFFF0000FF840000FFFF0000FF840000FFFF0000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0000FF8400
        00FFFF0000FF840000FFFF0000FF840000FFFF0000FF840000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
      TabOrder = 2
      OnClick = btnExcelClick
    end
    object btnSave: TcxButton
      Left = 633
      Top = 10
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #20445#23384#25490#20135
      TabOrder = 3
      OnClick = btnSaveClick
    end
  end
  inherited Panel1: TPanel
    Height = 60
    ExplicitHeight = 60
    inherited img3: TImage
      Left = 765
      ExplicitLeft = 765
    end
    inherited Bevel1: TBevel
      Top = 57
      ExplicitTop = 57
      ExplicitWidth = 872
    end
  end
  object pgcMain: TcxPageControl [2]
    Left = 0
    Top = 60
    Width = 548
    Height = 209
    Align = alClient
    TabOrder = 2
    Properties.ActivePage = tsProductionPlan
    Properties.CustomButtons.Buttons = <>
    OnChange = pgcMainChange
    ClientRectBottom = 205
    ClientRectLeft = 4
    ClientRectRight = 544
    ClientRectTop = 24
    object tsProductionPlan: TcxTabSheet
      Caption = #29983#20135#25490#20135
      ImageIndex = 0
      object grdProductionPlan: TcxGrid
        Left = 0
        Top = 0
        Width = 205
        Height = 181
        Align = alClient
        TabOrder = 0
        object viewProductionPlan: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
        end
        object lvlProductionPlan: TcxGridLevel
          GridView = viewProductionPlan
        end
      end
      object sptRaw: TcxSplitter
        Left = 205
        Top = 0
        Width = 8
        Height = 181
        Cursor = crHSplit
        HotZoneClassName = 'TcxSimpleStyle'
        AlignSplitter = salRight
        Control = grdRaw
      end
      object grdRaw: TcxGrid
        Left = 213
        Top = 0
        Width = 327
        Height = 181
        Align = alRight
        TabOrder = 2
        object viewRaw: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
        end
        object lvlRaw: TcxGridLevel
          GridView = viewRaw
        end
      end
    end
    object tsUnProductionPlan: TcxTabSheet
      Caption = #26410#25490#20135#35746#21333#12289#29983#20135#35745#21010
      ImageIndex = 1
      OnShow = tsUnProductionPlanShow
      object grdUnProduction: TcxGrid
        Left = 0
        Top = 0
        Width = 540
        Height = 181
        Align = alClient
        PopupMenu = pmSelUnProduction
        TabOrder = 0
        object viewUnProduction: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          Styles.Background = bsBackGroup
          Styles.ContentEven = bsEven
          Styles.ContentOdd = bsOdd
          Styles.Header = bsTitle
          Styles.Selection = bsSelect
        end
        object lvlUnProduction: TcxGridLevel
          GridView = viewUnProduction
        end
      end
    end
    object tsRCCP: TcxTabSheet
      Caption = #31895#33021#21147#35745#31639
      ImageIndex = 2
      object pnlWorkShop: TPanel
        Left = 0
        Top = 0
        Width = 540
        Height = 100
        Align = alTop
        TabOrder = 0
        object grdWorkShop: TcxGrid
          Left = 1
          Top = 1
          Width = 538
          Height = 98
          Align = alClient
          TabOrder = 0
          RootLevelOptions.DetailTabsPosition = dtpTop
          object viewWorkShop: TcxGridDBTableView
            Navigator.Buttons.CustomButtons = <>
            DataController.DataSource = dsWorkShop
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsView.ColumnAutoWidth = True
            OptionsView.GroupByBox = False
            Styles.Background = bsBackGroup
            Styles.ContentEven = bsEven
            Styles.ContentOdd = bsOdd
            Styles.Header = bsTitle
            Styles.Selection = bsSelect
            object colWSChoice: TcxGridDBColumn
              Caption = #36873#25321
              DataBinding.FieldName = 'choice'
              HeaderAlignmentHorz = taCenter
              Width = 40
            end
            object colWSCode: TcxGridDBColumn
              Caption = #36710#38388#32534#30721
              DataBinding.FieldName = 'code'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 80
            end
            object colWSName: TcxGridDBColumn
              Caption = #36710#38388#21517#31216
              DataBinding.FieldName = 'name'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 80
            end
            object colWSDeptname: TcxGridDBColumn
              Caption = #25152#23646#37096#38376
              DataBinding.FieldName = 'deptname'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 80
            end
            object colWSmachine: TcxGridDBColumn
              Caption = #26426#21488#25968
              DataBinding.FieldName = 'machines'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 70
            end
            object colWSmachinehours: TcxGridDBColumn
              Caption = #26085#26377#25928#26426#26102
              DataBinding.FieldName = 'machinehours'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 70
            end
            object colWSworkers: TcxGridDBColumn
              Caption = #24037#20154#25968
              DataBinding.FieldName = 'workers'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 70
            end
            object colWSdailymanhours: TcxGridDBColumn
              Caption = #26085#26377#25928#24037#26102
              DataBinding.FieldName = 'dailymanhours'
              HeaderAlignmentHorz = taCenter
              Options.Editing = False
              Width = 70
            end
          end
          object lvlWorkShop: TcxGridLevel
            Caption = #29983#20135#36710#38388
            GridView = viewWorkShop
          end
        end
        object btnSelAll: TcxButton
          Left = 311
          Top = 1
          Width = 75
          Height = 21
          Caption = #20840#36873
          TabOrder = 1
          OnClick = btnSelAllClick
        end
        object btnUnSel: TcxButton
          Left = 390
          Top = 1
          Width = 75
          Height = 21
          Caption = #21453#36873
          TabOrder = 2
          OnClick = btnUnSelClick
        end
        object btnEmptyAll: TcxButton
          Left = 471
          Top = 1
          Width = 75
          Height = 21
          Caption = #20840#28165
          TabOrder = 3
          OnClick = btnEmptyAllClick
        end
      end
      object pnlUnProduction: TPanel
        Left = 0
        Top = 100
        Width = 540
        Height = 101
        Align = alClient
        TabOrder = 1
        object grdProduct: TcxGrid
          Left = 1
          Top = 1
          Width = 538
          Height = 99
          Align = alClient
          TabOrder = 0
          RootLevelOptions.DetailTabsPosition = dtpTop
          object viewProduct: TcxGridDBTableView
            Navigator.Buttons.CustomButtons = <>
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsView.GroupByBox = False
            Styles.Background = bsBackGroup
            Styles.ContentEven = bsEven
            Styles.ContentOdd = bsOdd
            Styles.Header = bsTitle
            Styles.Selection = bsSelect
          end
          object lvlProduct: TcxGridLevel
            Caption = #36135#21697
            GridView = viewProduct
          end
        end
      end
      object pnlRccp: TPanel
        Left = 0
        Top = -60
        Width = 540
        Height = 241
        Align = alBottom
        TabOrder = 2
        object grdRccp: TcxGrid
          Left = 1
          Top = 1
          Width = 538
          Height = 239
          Align = alClient
          TabOrder = 0
          RootLevelOptions.DetailTabsPosition = dtpTop
          object viewRccp: TcxGridDBTableView
            Navigator.Buttons.CustomButtons = <>
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <>
            DataController.Summary.SummaryGroups = <>
            OptionsView.GroupByBox = False
            Styles.Background = bsBackGroup
            Styles.ContentEven = bsEven
            Styles.ContentOdd = bsOdd
            Styles.Header = bsTitle
            Styles.Selection = bsSelect
          end
          object lvlRccp: TcxGridLevel
            Caption = #33021#21147#35745#31639
            GridView = viewRccp
          end
        end
      end
      object sptRCCP: TcxSplitter
        Left = 0
        Top = -68
        Width = 540
        Height = 8
        Cursor = crVSplit
        HotZoneClassName = 'TcxXPTaskBarStyle'
        AlignSplitter = salBottom
        Control = pnlRccp
      end
    end
  end
  inherited MainDataSource: TDataSource
    DataSet = qryProductionPlan
  end
  object pmSelUnProduction: TPopupMenu
    Left = 580
    Top = 147
    object pmUnProduction: TMenuItem
      Caption = #21047#26032#26410#25490#20135
      OnClick = pmUnProductionClick
    end
  end
  object qryProductionPlan: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from tb_mnfrccp')
    Left = 40
    Top = 175
  end
  object qryUnProduction: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      
        'select m_bcode,m_bdate,productid,p_name,p_code,bquantity from v_' +
        'tb_sale'
      '  where m_bstate=1 and relationqty=0 and bquantity>rccpqty'
      'union all'
      
        'select m_bcode,m_bdate,productid,p_name,p_code,bquantity from v_' +
        'tb_mnfplan'
      '  where m_bstate=1 and bquantity>rcccpqty')
    Left = 132
    Top = 171
  end
  object qryWorkShop: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      
        'select CAST(0 as bit) choice, w.*,d.ed_deptnm deptname from td_w' +
        'orkshop w left join td_dept d on w.deptid=d.ed_deptid')
    Options.SetFieldsReadOnly = False
    Left = 216
    Top = 167
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 40
    Top = 309
    PixelsPerInch = 96
    object bsSelect: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clWindow
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clActiveCaption
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      TextColor = clActiveCaption
    end
    object bsNormal: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clWindow
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      TextColor = clDefault
    end
    object bsOdd: TcxStyle
      AssignedValues = [svColor]
      Color = clWindow
    end
    object bsEven: TcxStyle
      AssignedValues = [svColor]
      Color = clWindow
    end
    object bsBackGroup: TcxStyle
      AssignedValues = [svColor]
      Color = 16773345
    end
    object bsTitle: TcxStyle
      AssignedValues = [svColor]
      Color = clGradientActiveCaption
    end
    object cxGridBandedTableViewStyleSheet1: TcxGridBandedTableViewStyleSheet
      BuiltIn = True
    end
  end
  object dsWorkShop: TDataSource
    DataSet = qryWorkShop
    Left = 218
    Top = 111
  end
  object dsUnProduction: TDataSource
    DataSet = qryUnProduction
    Left = 138
    Top = 111
  end
  object dsRCCP: TDataSource
    Left = 194
    Top = 295
  end
  object qryRaw: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select CAST(0 as bit) choice, * from td_workshop')
    Left = 756
    Top = 227
  end
  object dsRaw: TDataSource
    DataSet = qryRaw
    Left = 758
    Top = 171
  end
  object cdsRCCP: TClientDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'bdate'
        DataType = ftDateTime
      end
      item
        Name = 'plancapacity'
        DataType = ftFloat
      end
      item
        Name = 'usedload'
        DataType = ftFloat
      end
      item
        Name = 'load'
        DataType = ftFloat
      end
      item
        Name = 'factcapacity'
        DataType = ftFloat
      end
      item
        Name = 'excess'
        DataType = ftFloat
      end
      item
        Name = 'overplus'
        DataType = ftFloat
      end
      item
        Name = 'sugstartdate'
        DataType = ftDateTime
      end
      item
        Name = 'sugfinisheddate'
        DataType = ftDateTime
      end
      item
        Name = 'revdate'
        DataType = ftDate
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 180
    Top = 400
    object cdsRCCPbdate: TDateTimeField
      DisplayLabel = #26085#26399
      FieldName = 'bdate'
    end
    object cdsRCCPplancapacity: TFloatField
      DisplayLabel = #35745#21010#20135#33021
      FieldName = 'plancapacity'
      DisplayFormat = '#0.####'
    end
    object cdsRCCPusedload: TFloatField
      DisplayLabel = #24050#21344#36127#33655
      FieldName = 'usedload'
      DisplayFormat = '#0.####'
    end
    object cdsRCCPload: TFloatField
      DisplayLabel = #26412#27425#38656#36127#33655
      FieldName = 'load'
      DisplayFormat = '#0.####'
    end
    object cdsRCCPfactcapacity: TFloatField
      DisplayLabel = #23454#38469#20135#33021
      FieldName = 'factcapacity'
      DisplayFormat = '#0.####'
    end
    object cdsRCCPexcess: TFloatField
      DisplayLabel = #36229#36127#33655
      FieldName = 'excess'
      DisplayFormat = '#0.####'
    end
    object cdsRCCPoverplus: TFloatField
      DisplayLabel = #21097#20313#33021#21147
      FieldName = 'overplus'
      DisplayFormat = '#0.####'
    end
    object cdsRCCPsugstartdate: TDateTimeField
      DisplayLabel = #24314#35758#24320#24037#26085#26399
      FieldName = 'sugstartdate'
    end
    object cdsRCCPsugfinisheddate: TDateTimeField
      DisplayLabel = #24314#35758#23436#24037#26085#26399
      FieldName = 'sugfinisheddate'
    end
    object cdsRCCPrevdate: TDateField
      DisplayLabel = #21407#21457#36135#26085#26399
      FieldName = 'revdate'
    end
  end
end
